/**
 * Created by qlm on 2016/3/2.
*/
var mainApp = angular.module("mainApp", ['routerApp','directiveApp','ui.athena'])
    .run(function($rootScope){
        $rootScope.running = {"display" : "block"};
    });

mainApp.controller('dialog',function($scope){
    $scope.showDialog = function(){
        $('.dialog').css('display','-webkit-box');
    };
    $scope.hideDialog = function(){
        $('.dialog').hide();
    }
})
.controller("searchCtrl",function($scope){

        $scope.keyword = "keyword";
        $scope.placehold = "搜索关键字";

        $scope.search = function(e){
            e.preventDefault();
        };
});
